-
Home
-
WP 2FA – Two-factor authentication for WordPress
-
1.7.1
-
Code
-
Classes
- User
Total Complexity |
74 |
Dependencies |
8 |
Dependents |
10 |
Total lines |
475 |
Lines of code |
224 |
Logical lines of code |
129 |
Comment lines |
175 |
Methods |
26 |
Properties |
3 |
Methods 26
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
lock_user_account_if_needed() |
A |
46 |
10 |
37 |
setUserPoliciesAndGrace() |
A |
51 |
8 |
27 |
checkMethodsAndSetUser() |
A |
54 |
8 |
21 |
setUser() |
S |
61 |
4 |
13 |
needsToReconfigureMethod() |
S |
70 |
4 |
6 |
__construct() |
S |
62 |
3 |
12 |
getTotpKey() |
S |
64 |
3 |
10 |
deleteUserMeta() |
S |
73 |
2 |
5 |
getEnabledMethods() |
S |
71 |
2 |
6 |
setUserStatus() |
S |
64 |
2 |
9 |
isUserSet() |
S |
71 |
2 |
6 |
getGlobalSettingsHashUser() |
S |
73 |
2 |
5 |
setGlobalSettingsHash() |
S |
73 |
2 |
5 |
getGracePeriodExpiration() |
S |
71 |
2 |
6 |
needsToReconfigure2FA() |
S |
71 |
2 |
6 |
setDismissedNag() |
S |
73 |
2 |
5 |
isAdminUser() |
S |
70 |
2 |
6 |
setReconfigure2FA() |
S |
73 |
2 |
5 |
getUserMeta() |
S |
74 |
2 |
5 |
getDismissedNag() |
S |
71 |
2 |
6 |
getEnforcedInstantly() |
S |
71 |
2 |
6 |
setEnforcedInstantly() |
S |
73 |
2 |
5 |
getUser() |
S |
82 |
1 |
3 |
setUserMeta() |
S |
79 |
1 |
3 |
getUserStatus() |
S |
78 |
1 |
3 |
isUserLocked() |
S |
77 |
1 |
3 |